package cn.monkey.family.data.uc.role.datascope;


import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
public class TableDataScopeDefinition extends DataScopeDefinition {

    public TableDataScopeDefinition() {
        this.setType(DataScopeType.TABLE.name());
    }

    private String tableName;
    private String alias;

    /**
     * SELECT  *   FROM USER;
     * SELECT * FROM USER_tenantId
     */

    private FieldDataScopeDefinition fields;
    private ConditionDataScopeDefinition conditions;
}
